﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlServerCe;

namespace ProvaBD
{
    class BD
    {
        SqlCeConnection con;

        public BD()
        {
            con = null;
        }
        public SqlCeConnection propertyConexxio
        {
            get { return con; }
            set { con = value; }
        }
        public void Connectarse()
        {
            con =
            new SqlCeConnection(@"Data Source=G:\2DAI\DC9\2nTrim\ProvaBD\ProvaBD\alumnes.sdf");
            //return con;
        }
    }
}
